//
//  TakePhotoMgr.h
//  carcareIOS
//
//  Created by 王然 on 16/7/27.
//  Copyright © 2016年 chezheng. All rights reserved.
//

#import <Foundation/Foundation.h>

#define TAKEPHOTOMGR [TakePhotoMgr sharedInstance]

typedef void (^CallBack)(UIImage *);

@interface TakePhotoMgr : NSObject
DEF_SINGLETON
/**
    调用该方法会出现自定义actionsheet选择相机相册界面，当用户选择完图片以后会返回所选择的图片
 */
- (void)selectActionPictureWithController:(UIViewController *)viewController callBack:(CallBack)backImageBlock;
- (void)uploadPictureType:(NSString *)pictureType withNetSuccess:(void (^)(id JSON))success fail:(void (^)(id JSON))fail;

@end
